<%@ page import="com.example.softwareconfigurationcoursedesign.Product" %>
<%@ page import="java.util.List" %>
<%@ page import="com.example.softwareconfigurationcoursedesign.ProductService" %>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>编辑商品</title>
    <style>
        label {
            display: block;
            margin-bottom: 10px;
        }

        input[type="text"], input[type="password"] {
            width: 200px;
            padding: 5px;
            font-size: 14px;
        }

        button {
            padding: 5px 10px;
            background-color: #0074cc;
            color: white;
            border: none;
            cursor: pointer;
        }

        button:hover {
            background-color: #0056a7;
        }
    </style>
</head>
<body>
<h1>编辑商品</h1>

<form action="editProduct" method="POST">

    <label>商品ID:</label>
    <input type="text" id="productId" name="productId" required>

    <label for="productName">商品名称:</label>
    <input type="text" id="productName" name="productName" required>

    <label for="productPrice">价格:</label>
    <input type="text" id="productPrice" name="productPrice" required>

    <label for="productTag">标签:</label>
    <input type="text" id="productTag" name="productTag" required>

    <label for="productDetail">详情:</label>
    <input type="text" id="productDetail" name="productDetail" required>

    <button type="submit">保存</button>

</form>
</body>
</html>